package com.gome.ocean.dao.model.websql;

public class DisplayColumnsVO {
    
    public DisplayColumnsVO(){}

    public DisplayColumnsVO(int minWidth, int width, boolean readOnly, boolean resizable, boolean sortable,
                            String style, String xtype){
        super();
        this.minWidth = minWidth;
        this.width = width;
        this.readOnly = readOnly;
        this.resizable = resizable;
        this.sortable = sortable;
        this.style = style;
        this.xtype = xtype;
    }

    private int     minWidth;

    private int     width;    // 宽

    private boolean readOnly; // 是否只读

    private boolean resizable; // 是否能调整

    private boolean sortable; // 是否排序

    private String  style;    // 样式

    private String  text;     // 列名

    private String  dataIndex; // 列索引

    private String  align;    // 排列样式

    private String  xtype;

    public int getMinWidth() {
        return minWidth;
    }

    public void setMinWidth(int minWidth) {
        this.minWidth = minWidth;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public boolean isReadOnly() {
        return readOnly;
    }

    public void setReadOnly(boolean readOnly) {
        this.readOnly = readOnly;
    }

    public boolean isResizable() {
        return resizable;
    }

    public void setResizable(boolean resizable) {
        this.resizable = resizable;
    }

    public boolean isSortable() {
        return sortable;
    }

    public void setSortable(boolean sortable) {
        this.sortable = sortable;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getXtype() {
        return xtype;
    }

    public void setXtype(String xtype) {
        this.xtype = xtype;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getDataIndex() {
        return dataIndex;
    }

    public void setDataIndex(String dataIndex) {
        this.dataIndex = dataIndex;
    }

    public String getAlign() {
        return align;
    }

    public void setAlign(String align) {
        this.align = align;
    }
}
